package com.songyang.Restaurant.Service.Impl;

import com.songyang.Restaurant.Model.Restaurant;
import com.songyang.Restaurant.Repository.RestaurantMapper;
import com.songyang.Restaurant.Service.RestaurantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RestaurantServiceImpl  implements RestaurantService {
    @Autowired
    private RestaurantMapper restaurantMapper;
    @Override
    public void addRestaurant(Restaurant restaurant) {
        restaurantMapper.addRestaurant(restaurant);
    }
}
